d65ea87b23aca56b34c84a3113f3abfb29c31762,plugins/kernel/roi/roi3d/ROI3DStack.java,ROI3DStackPainter,keyPressed,#KeyEvent#Point5D.Double#IcyCanvas#,1462

Before Change


            super.keyPressed(e, imagePoint, canvas);

            // then send it to active slice
            if (isActiveFor(canvas))
            {
                // forward event to current slice
                final ROIPainter sliceOverlay = getSliceOverlayForCanvas(canvas);

After Change


        public void keyPressed(KeyEvent e, Point5D.Double imagePoint, IcyCanvas canvas)
        {
            // 2D canvas --> use slice implementation
            if ((canvas.getPositionZ() >= 0) && isActiveFor(canvas))
            {
                // forward event to current slice
                final ROIPainter sliceOverlay = getSliceOverlayForCanvas(canvas);